?><?
ini_set('session.use_trans_sid', 'Off');
ini_set("memory_limit","220M");
ini_set("upload_max_filesize","8M");
ini_set("display_errors","1");

session_start();
set_time_limit(300);
setlocale(LC_ALL, array ('ru_RU.CP1251', 'rus_RUS.1251'));
setlocale(LC_ALL, "ru_RU.CP1251"); 
header("Content-Type: text/html; charset=windows-1251");
error_reporting(E_ALL ^ E_NOTICE);

require("functions.php");
StartTimer("Debug");
require("entity.php");
require("framework.php");
require("logic.php");
